<?php

/*
 * ************************************************* 
 * Created on :2012-5-5 18:43:25
 * Encoding   :UTF-8
 * Description:
 * 
 * @Author @lqs <soso2501@gmail.com>
 * @WAP_WEIBO (C)1996-2099 SINA Inc. 
 * ************************************************
 */

class juanzeng extends Controller {

    public function init() {
        $this->selfc = 'juanzeng';
        $this->tpl->assign("title", "河北工业大学校友会-校友捐赠");
        $this->tpl->assign("selfcname", "校友捐赠");
        $leftnav = array(
            array("name" => "捐赠指南", "link" => "/$this->selfc/intro"),
            array("name" => "捐赠检索", "link" => "/$this->selfc/js"),
            array("name" => "捐赠事迹", "link" => "/$this->selfc/sj"),
            array("name" => "捐赠相册", "link" => "/$this->selfc/xc"),
            array("name" => "年度捐赠", "link" => "/$this->selfc/nd"),
        );
        $this->tpl->assign("leftnav", $leftnav);
    }

    public function index() {
        $this->intro();
    }

    public function intro() {
        $this->_copy("捐赠指南");
    }

    public function js() {
        $this->tpl->assign("selfaname", "捐赠检索");
        //todo 未完成
        $this->tpl->assign("module", "donatesearch");
        $this->tpl->display("include/mainfw.html");
    }

    public function sj() {
        $this->_news("捐赠事迹");
    }

    public function xc() {
        $this->tpl->assign("selfaname", "捐赠相册");
        //todo 未完成
        $this->tpl->assign("module", "album");
        $this->tpl->display("include/mainfw.html");
    }

    public function nd() {
        $this->_news("年度捐赠");
    }

    //纯示例
    public function photo() {
        $this->tpl->assign("selfaname","捐赠相册>>2012家不在这里");
        //todo 未完成
        $this->tpl->assign("module", "photolist");
        $this->tpl->display("include/mainfw.html");
    }

}

/* End of file juanzeng */


